package com.itbaizhan.openhis.pay;

import java.util.Map;

/**
 * 支付测试类
 */
public class TestPay {
    public static void main(String[] args) {
        String outTradeNo = "OD123124124ABCDE78";
        String subject = "SXT-医疗管理系统支付平台";
        String totalAmount = "5000";
        String undiscountableAmount = null;
        String body = "买药用的";
        String notifyUrl = "https://58d38m4490.goho.co/pay/callback/" + outTradeNo;
        Map<String, Object> pay = PayService.pay(outTradeNo, subject, totalAmount, undiscountableAmount, body, notifyUrl);
        System.out.println(pay);
    }
}
